
<script setup>
import { useRoute,useRouter } from "vue-router";
import { onMounted } from "vue";
const route = useRoute();
const router = useRouter();
onMounted(() => {
  const { params, query } = route
  const { path } = params
  router.replace({ path: '/' + path, query })
});
// function render(h) {
//   return h() // avoid warning message
// }
</script>
